package com.eastfair.pay.dto;

import lombok.Data;

import java.io.Serializable;
/**
 * <p>
 * 实体类
 * 荆艺响应体
 * </p>
 *
 * @author fwl
 * @since 2023-03-06
 */
@Data
public class JYResultDTO<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    private String state;
    private String message;
    private String exceptionMsg;
    private int stateCode;
    private T data;

    public Boolean isSuccess() {
        return this.stateCode ==  200;
    }
}
